<?php

use yii\db\Migration;
use yii\db\Schema;

class m170209_054627_ADD_COLUMN_COMPANY extends Migration
{
    public function up()
    {
        $this->addColumn('{{member}}', 'company', Schema::TYPE_STRING. "(256) null COMMENT '公司' ");
    }

    public function down()
    {
        echo "m170209_054627_ADD_COLUMN_COMPANY cannot be reverted.\n";

        return false;
    }

    /*
    // Use safeUp/safeDown to run migration code within a transaction
    public function safeUp()
    {
    }

    public function safeDown()
    {
    }
    */
}
